package mymac.com.weather;

/**
 * Created by mymac on 2017/3/3.
 */

public class Weather {

    public String resultcode;
    public String reason;
    public String error_code;
    private static Weather weather;

    public static Weather getInstance(){
        if (weather == null){
            weather = new Weather();
        }
        return weather;
    }

    public String getResultcode() {
        return resultcode;
    }

    public void setResultcode(String resultcode) {
        this.resultcode = resultcode;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }
}
